package events
{
	import flash.events.Event;
	
	import mx.collections.ArrayCollection;

	public class ListingEvent extends Event
	{
		public static var LIST_FILE:String = 'list file';
		public static var LIST_DIRECTORY:String = 'list directory';
		
		private var _operation:String;
		private var _data:ArrayCollection;
		
		public function ListingEvent(operation:String, data:ArrayCollection)
		{
			super(operation, true, true);
			this._data = data;
			
		}
		
		public function get operation():String{
			return this.type;
		}
		
		public function get data():ArrayCollection{
			return this._data;
		}
		
		
	}
}